#include <connectivity/uart.h>
#include <device/dr16.h>

InitLate(dr16_a00) {
    os::Uart::Instance(USART3).on_receive.connect([](uint8_t const* buf, uint16_t const len) {
        dr16::Receiver::getInstance().decode(buf, len);
    });
    UNUSED(dr16::Receiver::getInstance());
}
